﻿using Grishko.DataTier;
using Grishko.SerilizeTools;

namespace OutdoorLib.BaseEntity.Constraction
{
    /// <summary>
    /// Группа поверхностей
    /// </summary>
    
    [TagNameInfo (TagName ="SurfaceGroup")]
    public class SurfaceGroup : DictionaryItem  
    {

        [SrchItemInfo(TxtPropertyName = "Наимнование")]
        public string Name { get { return Value.ToString(); } set { Value = value; } }

        public override string ParamID
        {
            get
            {
                return ID;
            }
            set
            {
                ID = value;
            }
        }

        
        private string _Description = string.Empty;
        public string Description
        {
            get
            {
                return _Description;
            }
            set { _Description = value; }
        }

        private EntityList _SurfaceList = new EntityList();
        public EntityList SurfaceList { get { return _SurfaceList; } set { _SurfaceList = value; } }
       
    }
}

